package org.alps.pattern.factory.factorymethod;

import org.alps.pattern.factory.ICourse;
import org.alps.pattern.factory.PythonCourse;

/**
 * Python课程工厂类
 * 单一职责原则
 * @date 2021-04-26
 * @author zkw
 */
public class PythonCourseFactory implements ICourseFactory {

    @Override
    public ICourse create() {
        return new PythonCourse();
    }
}
